break and continue in javascript